package com.ruoyi.process.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * index对象 wf_processflow
 * 
 * @author wuenguo
 * @date 2025-06-10
 */
public class Processflow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long pfid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long pcid;

    /** 对应定义的流程 id */
    @Excel(name = "对应定义的流程 id")
    private String processid;

    /** 流程名称 */
    @Excel(name = "流程名称")
    private String procname;

    /** 备注 */
    @Excel(name = "备注")
    private String meno;

    /** 流程具体内容 */
    @Excel(name = "流程具体内容")
    private String detail;

    /** 流程状态 0保存 1发布 2挂起 */
    private Integer status;

    /** 流程编号 */
    @Excel(name = "流程编号")
    private String procnum;

    /** 版本号 */
    private String version;

    /** 0表示第一版本，上级版本 */
    private Long parentid;

    public void setPfid(Long pfid) 
    {
        this.pfid = pfid;
    }

    public Long getPfid() 
    {
        return pfid;
    }
    public void setPcid(Long pcid) 
    {
        this.pcid = pcid;
    }

    public Long getPcid() 
    {
        return pcid;
    }
    public void setProcessid(String processid) 
    {
        this.processid = processid;
    }

    public String getProcessid() 
    {
        return processid;
    }
    public void setProcname(String procname) 
    {
        this.procname = procname;
    }

    public String getProcname() 
    {
        return procname;
    }
    public void setMeno(String meno) 
    {
        this.meno = meno;
    }

    public String getMeno() 
    {
        return meno;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setProcnum(String procnum) 
    {
        this.procnum = procnum;
    }

    public String getProcnum() 
    {
        return procnum;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setParentid(Long parentid) 
    {
        this.parentid = parentid;
    }

    public Long getParentid() 
    {
        return parentid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pfid", getPfid())
            .append("pcid", getPcid())
            .append("processid", getProcessid())
            .append("procname", getProcname())
            .append("meno", getMeno())
            .append("detail", getDetail())
            .append("status", getStatus())
            .append("procnum", getProcnum())
            .append("version", getVersion())
            .append("parentid", getParentid())
            .toString();
    }
}
